Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-51524: Fix bug when calling trace.CoverageResults with valid infile #99629

Merged
merged 7 commits into from
Nov 28, 2022
Merged

gh-51524: Fix bug when calling trace.CoverageResults with valid infile #99629

merged 7 commits into from
Nov 28, 2022

Conversation

furkanonder
Copy link
Contributor

@furkanonder furkanonder commented Nov 20, 2022

@furkanonder furkanonder changed the title gh-51524: fix coverage result fail for the merge input file with non-… gh-51524: fix coverage result fail for the merge input file with non-empty callers Nov 20, 2022
@furkanonder furkanonder changed the base branch from main to 3.11 November 20, 2022 20:43
Copy link
Member

@terryjreedy terryjreedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with minor edit and addition of blurb. Does following seen sufficient?

Fix bug when calling trace.CoverageResults with valid infile.

Lib/trace.py Outdated Show resolved Hide resolved
Lib/trace.py Outdated Show resolved Hide resolved
Lib/test/test_trace.py Outdated Show resolved Hide resolved
Lib/test/test_trace.py Outdated Show resolved Hide resolved
@furkanonder
Copy link
Contributor Author

@terryjreedy I have made the requested changes. Can you review it again?

@furkanonder furkanonder requested review from terryjreedy and removed request for iritkatriel November 21, 2022 18:48
@gvanrossum gvanrossum changed the title gh-51524: fix coverage result fail for the merge input file with non-empty callers gh-51524: Fix bug when calling trace.CoverageResults with valid infile Nov 22, 2022
@terryjreedy terryjreedy self-assigned this Nov 28, 2022
@terryjreedy terryjreedy added type-bug An unexpected behavior, bug, or error needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes labels Nov 28, 2022
@terryjreedy terryjreedy merged commit 594de16 into python:main Nov 28, 2022
@miss-islington
Copy link
Contributor

Thanks @furkanonder for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-99832 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Nov 28, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 28, 2022
… infile (pythonGH-99629)

(cherry picked from commit 594de16)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 28, 2022
… infile (pythonGH-99629)

(cherry picked from commit 594de16)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-bot
Copy link

GH-99833 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Nov 28, 2022
miss-islington added a commit that referenced this pull request Nov 28, 2022
GH-99629)

(cherry picked from commit 594de16)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington added a commit that referenced this pull request Nov 28, 2022
GH-99629)

(cherry picked from commit 594de16)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants